package ren.steve.system.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;
import ren.steve.model.system.bean.SystemDept;
import ren.steve.model.system.vo.SystemDeptQueryVo;

import java.util.List;

/**
 * @Author: LiuGuoJia
 * @Description:
 * @Date: Created in 2024/1/18 20:03
 */

public interface SystemDeptService extends IService<SystemDept> {
  // 条件分页查询
  IPage<SystemDept> select(Page<SystemDept> pagination, @Param("vo") SystemDeptQueryVo vo);

  IPage<SystemDept> selectRoot(Page<SystemDept> pagination, @Param("vo") SystemDeptQueryVo vo);

  List<SystemDept> listJoin();

  SystemDept getByIdJoin(String id);
}
